/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-01-06 12:07:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** TsUnit ********** */
/**
 * --
 * @tips TsUnit
 * @tags [TsUnit]
 * @param {string} location
  */
export function api_GET_LocationNextMatch (location) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/venue-management/${location}/next-match`,
    method: 'get'
  });
}
/**
 * --
 * @tips TsUnit
 * @tags [TsUnit]
 * @param {string} location
  */
export function api_GET_LocationPrevMatch (location) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/venue-management/${location}/prev-match`,
    method: 'get'
  });
}
